package com.uniview.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.uniview.dao.CCRelationDao;
import com.uniview.dao.MailSendpeopleDao;
import com.uniview.dao.OrderCCRelationDao;
import com.uniview.entity.po.CCRelation;
import com.uniview.entity.po.MailSendpeople;
import com.uniview.entity.po.OrderCCRelation;
import com.uniview.service.CCRelationService;
import com.uniview.service.MailSendpeopleService;

@Service("mailSendpeopleService")
public class MailSendpeopleServiceImpl implements MailSendpeopleService {

	@Autowired
	private MailSendpeopleDao mailSendpeopleDao;
	
	
	@Override
	public List<MailSendpeople> findSendByMail() {
		try {
			return mailSendpeopleDao.findSendByMail();
		} catch (Exception e) {
			e.printStackTrace();
		}
		return null;
	}
	
	@Override
	public List<MailSendpeople> findCCByMail() {
		try {
			return mailSendpeopleDao.findCCByMail();
		} catch (Exception e) {
			e.printStackTrace();
		}
		return null;
	}

}
